package com.eastjet.maintenance.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 用户表
 * @TableName device_user
 */
@TableName(value ="device_user")
@Data
public class DeviceUser implements Serializable {
    /**
     * 编号
     */
    @TableId(type = IdType.AUTO)
    private Integer userId;

    /**
     * 姓名
     */
    private String userName;

    /**
     * 年龄
     */
    private Integer userAge;

    /**
     * 性别
     */
    private Integer userSex;

    /**
     * 手机号
     */
    private String userPhone;

    /**
     * 登录账号
     */
    private String userAccountNumber;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 登录密码
     */
    private String userAccountPwd;

    /**
     * 用户头像
     */
    private String userPicture;

    /**
     * 部门编号
     */
    private Integer userDeptId;

    /**
     * 班组编号
     */
    private Integer classId;


    /**
     * 用户工号(QE0001)
     */
    private String code;

    /**
     * 逻辑删除
     */
    private Integer isDelete;

    /**
     * 状态(0.启用:1.禁用)
     */
    private Integer state;

    /**
     * 备注
     */
    private String notes;

    /**
     * 岗位编号外键
     */
    private Integer post;

    @Override
    public String toString() {
        return "DeviceUser{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userAge=" + userAge +
                ", userSex=" + userSex +
                ", userPhone='" + userPhone + '\'' +
                ", userAccountNumber='" + userAccountNumber + '\'' +
                ", email='" + email + '\'' +
                ", userAccountPwd='" + userAccountPwd + '\'' +
                ", userPicture='" + userPicture + '\'' +
                ", userDeptId=" + userDeptId +
                ", classId=" + classId +
                ", code='" + code + '\'' +
                ", isDelete=" + isDelete +
                ", state=" + state +
                ", notes='" + notes + '\'' +
                ", post=" + post +
                '}';
    }
}